home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / type.tex < prev    next >
LaTeX Document  |  1994-04-27  |  1.1 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: type.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 74 79 70 65 20 2d 2d |\section|{type --|
|00000010| 2d 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 6f 66 |- descri|ption of|
|00000020| 20 61 72 67 75 6d 65 6e | 74 20 74 79 70 65 7d 0d | argumen|t type}.|
|00000030| 5c 6c 61 62 65 6c 7b 66 | 6e 3a 74 79 70 65 7d 0d |\label{f|n:type}.|
|00000040| 5c 69 6e 64 65 78 7b 74 | 79 70 65 28 29 7d 0d 5c |\index{t|ype()}.\|
|00000050| 69 6e 64 65 78 7b 64 65 | 73 63 72 69 70 74 69 6f |index{de|scriptio|
|00000060| 6e 20 6f 66 20 61 72 67 | 75 6d 65 6e 74 20 74 79 |n of arg|ument ty|
|00000070| 70 65 7d 0d 5c 69 6e 64 | 65 78 7b 76 61 72 69 61 |pe}.\ind|ex{varia|
|00000080| 62 6c 65 21 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |ble!desc|ription}|
|00000090| 0d 5c 62 65 67 69 6e 7b | 72 61 69 6c 7d 0d 54 79 |.\begin{|rail}.Ty|
|000000a0| 70 65 20 3a 20 27 74 79 | 70 65 27 20 27 28 27 20 |pe : 'ty|pe' '(' |
|000000b0| 28 20 53 63 61 6c 61 72 | 20 7c 20 4d 61 74 72 69 |( Scalar| | Matri|
|000000c0| 78 20 29 20 27 29 27 20 | 3b 0d 5c 65 6e 64 7b 72 |x ) ')' |;.\end{r|
|000000d0| 61 69 6c 7d 0d 0d 5c 76 | 65 72 62 2b 74 79 70 65 |ail}..\v|erb+type|
|000000e0| 2b 20 72 65 74 75 72 6e | 73 20 61 20 73 74 72 69 |+ return|s a stri|
|000000f0| 6e 67 20 74 68 61 74 20 | 64 65 73 63 72 69 62 65 |ng that |describe|
|00000100| 73 20 74 68 65 20 74 79 | 70 65 20 6f 66 20 65 6c |s the ty|pe of el|
|00000110| 65 6d 65 6e 74 0d 63 6f | 6e 74 61 69 6e 65 64 20 |ement.co|ntained |
|00000120| 69 6e 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 2e |in the a|rgument.|
|00000130| 20 0d 54 68 65 20 72 65 | 73 75 6c 74 73 20 61 72 | .The re|sults ar|
|00000140| 65 3a 0d 5c 62 65 67 69 | 6e 7b 64 65 73 63 72 69 |e:.\begi|n{descri|
|00000150| 70 74 69 6f 6e 7d 0d 5c | 69 74 65 6d 20 5b 72 65 |ption}.\|item [re|
|00000160| 61 6c 5d 20 61 20 72 65 | 61 6c 20 73 63 61 6c 61 |al] a re|al scala|
|00000170| 72 20 6f 72 20 6d 61 74 | 72 69 78 0d 5c 69 74 65 |r or mat|rix.\ite|
|00000180| 6d 20 5b 63 6f 6d 70 6c | 65 78 5d 20 61 20 63 6f |m [compl|ex] a co|
|00000190| 6d 70 6c 65 78 20 73 63 | 61 6c 61 72 20 6f 72 20 |mplex sc|alar or |
|000001a0| 6d 61 74 72 69 78 0d 5c | 69 74 65 6d 20 5b 73 74 |matrix.\|item [st|
|000001b0| 72 69 6e 67 5d 20 61 20 | 73 74 72 69 6e 67 20 6f |ring] a |string o|
|000001c0| 72 20 73 74 72 69 6e 67 | 20 6d 61 74 72 69 78 0d |r string| matrix.|
|000001d0| 5c 69 74 65 6d 20 5b 75 | 73 65 72 5d 20 61 20 75 |\item [u|ser] a u|
|000001e0| 73 65 72 20 64 65 66 69 | 6e 65 64 20 66 75 6e 63 |ser defi|ned func|
|000001f0| 74 69 6f 6e 0d 5c 69 74 | 65 6d 20 5b 62 75 69 6c |tion.\it|em [buil|
|00000200| 74 69 6e 5d 20 61 20 62 | 75 69 6c 74 20 69 6e 20 |tin] a b|uilt in |
|00000210| 66 75 6e 63 74 69 6f 6e | 0d 5c 65 6e 64 7b 64 65 |function|.\end{de|
|00000220| 73 63 72 69 70 74 69 6f | 6e 7d 0d 0d 49 6e 20 61 |scriptio|n}..In a|
|00000230| 64 64 69 74 69 6f 6e 2c | 20 69 66 20 74 68 65 20 |ddition,| if the |
|00000240| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 61 20 6c 69 |argument| is a li|
|00000250| 73 74 2c 20 77 69 74 68 | 20 61 20 73 74 72 69 6e |st, with| a strin|
|00000260| 67 20 65 6c 65 6d 65 6e | 74 20 6e 61 6d 65 64 0d |g elemen|t named.|
|00000270| 5c 76 65 72 62 2b 74 79 | 70 65 2b 2c 20 74 68 61 |\verb+ty|pe+, tha|
|00000280| 74 20 73 74 72 69 6e 67 | 20 77 69 6c 6c 20 62 65 |t string| will be|
|00000290| 20 72 65 74 75 72 6e 65 | 64 2e 20 20 49 66 20 74 | returne|d. If t|
|000002a0| 68 65 20 6c 69 73 74 20 | 64 6f 65 73 6e 27 74 20 |he list |doesn't |
|000002b0| 68 61 76 65 0d 61 6e 20 | 65 6c 65 6d 65 6e 74 20 |have.an |element |
|000002c0| 6e 61 6d 65 64 20 5c 76 | 65 72 62 2b 74 79 70 65 |named \v|erb+type|
|000002d0| 2b 2c 20 6f 72 20 74 68 | 61 74 20 65 6c 65 6d 65 |+, or th|at eleme|
|000002e0| 6e 74 20 64 6f 65 73 6e | 27 74 20 63 6f 6e 74 61 |nt doesn|'t conta|
|000002f0| 69 6e 20 61 20 73 74 72 | 69 6e 67 2c 0d 74 68 65 |in a str|ing,.the|
|00000300| 20 72 65 74 75 72 6e 20 | 76 61 6c 75 65 20 69 73 | return |value is|
|00000310| 20 61 6e 20 65 6d 70 74 | 79 20 73 74 72 69 6e 67 | an empt|y string|
|00000320| 2e 0d 0d 5c 70 61 72 61 | 67 72 61 70 68 7b 45 78 |...\para|graph{Ex|
|00000330| 61 6d 70 6c 65 7d 0d 5c | 69 6e 64 65 78 7b 65 78 |ample}.\|index{ex|
|00000340| 61 6d 70 6c 65 20 6f 66 | 20 74 79 70 65 28 29 7d |ample of| type()}|
|00000350| 0d 5c 69 6e 64 65 78 7b | 74 79 70 65 28 29 21 65 |.\index{|type()!e|
|00000360| 78 61 6d 70 6c 65 7d 0d | 5c 62 65 67 69 6e 7b 76 |xample}.|\begin{v|
|00000370| 65 72 62 61 74 69 6d 7d | 0d 3e 20 74 79 70 65 28 |erbatim}|.> type(|
|00000380| 32 2e 34 33 29 0d 72 65 | 61 6c 0d 3e 20 74 79 70 |2.43).re|al.> typ|
|00000390| 65 28 32 2e 34 33 2b 34 | 6a 29 0d 63 6f 6d 70 6c |e(2.43+4|j).compl|
|000003a0| 65 78 0d 3e 20 74 79 70 | 65 28 22 74 68 69 73 20 |ex.> typ|e("this |
|000003b0| 69 73 20 61 20 73 74 72 | 69 6e 67 22 29 0d 73 74 |is a str|ing").st|
|000003c0| 72 69 6e 67 0d 3e 20 74 | 79 70 65 28 73 69 6e 29 |ring.> t|ype(sin)|
|000003d0| 0d 62 75 69 6c 74 69 6e | 0d 3e 20 74 79 70 65 28 |.builtin|.> type(|
|000003e0| 73 69 6e 28 33 2e 31 34 | 29 29 0d 72 65 61 6c 0d |sin(3.14|)).real.|
|000003f0| 3e 20 74 79 70 65 28 75 | 6e 69 6f 6e 29 0d 75 73 |> type(u|nion).us|
|00000400| 65 72 0d 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |er.\end{|verbatim|
|00000410| 7d 0d 0d 53 65 65 20 61 | 6c 73 6f 3a 20 50 61 67 |}..See a|lso: Pag|
|00000420| 65 20 5c 70 61 67 65 72 | 65 66 7b 66 6e 3a 63 6c |e \pager|ef{fn:cl|
|00000430| 61 73 73 7d 20 5c 76 65 | 72 62 2b 63 6c 61 73 73 |ass} \ve|rb+class|
|00000440| 28 29 2b 2c 0d 50 61 67 | 65 20 5c 70 61 67 65 72 |()+,.Pag|e \pager|
|00000450| 65 66 7b 66 6e 3a 73 68 | 6f 77 7d 20 5c 76 65 72 |ef{fn:sh|ow} \ver|
|00000460| 62 2b 73 68 6f 77 28 29 | 2b 2e 0d 0d 5c 6e 65 77 |b+show()|+...\new|
|00000470| 70 61 67 65 0d 0d 0d 0d | 0d 0d 0d |page....|... |
+--------+-------------------------+-------------------------+--------+--------+